package com.platform.qujia.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * @Auther: zxy
 * @Date: 2023/11/9 12:08
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CouponPaymetDto {

    @ApiModelProperty(value = "优惠券核销码")
    private String couponNo;

    /**
     * 油站id
     */
    @ApiModelProperty(value = "油站id", example = "235")
    @NotNull(message = "油站id不能为空")
    private Integer stationId;



    /**
     * 加油员id
     */
//    @ApiModelProperty(value = "加油员id", example = "3")
    private String oilPersonnelId;


    /**
     * 核销类型
     */
    private int verificationType;


    /**
     * 核销时间
     */
    private Date couponVtime;




    @ApiModelProperty(value = "优惠券核销码")
//    @NotEmpty(message = "核销码不能为空")
    private List<String> couponNoList;

}
